\documentclass[a4paper]{book}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{ifthen}
\usepackage[table]{xcolor}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{sectsty}
\usepackage[titles]{tocloft}
\usepackage{doxygen}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large AutoFit }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.7.4}\\
\vspace*{0.5cm}
{\small Mon Jun 27 2011 13:00:11}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}
\chapter{Namespace Index}
\input{namespaces}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Namespace Documentation}
\input{namespacecom}
\input{namespacecom_1_1dstu}
\input{namespacecom_1_1dstu_1_1autofit}
\chapter{Class Documentation}
\input{classcom_1_1dstu_1_1autofit_1_1_auto_fit}
\input{classcom_1_1dstu_1_1autofit_1_1_blank_properties_exception}
\input{classcom_1_1dstu_1_1autofit_1_1_no_class_loaded_exception}
\input{interfacecom_1_1dstu_1_1autofit_1_1_no_fit}
\input{classcom_1_1dstu_1_1autofit_1_1_template}
\input{classcom_1_1dstu_1_1autofit_1_1_test_class}
\chapter{File Documentation}
\input{_auto_fit_8java}
\input{_blank_properties_exception_8java}
\input{_no_class_loaded_exception_8java}
\input{_no_fit_8java}
\input{_template_8java}
\input{_test_class_8java}
\printindex
\end{document}
